﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DailyEdit.aspx.cs" Inherits="Web.DailyEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <base target="_self" />
    <title>工作日志-编辑</title>
    <meta content="ie=7" http-equiv="x-ua-compatible">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <link href="Styles/Style01.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.7.min.js" type="text/javascript"></script>
    <script>
        $(function () {
            $("textarea").each(function () { this.style.height = this.scrollHeight + 16 + 'px'; });
            $("textarea").keydown(function () { this.style.height = this.scrollHeight + 16 + 'px'; });
        });
    </script>
</head>
<body><form id="form1" runat="server">
<div>日志日期：<label id="lblDate" runat="server"></label></div>
<table class="s1">
<tr><td width="5%">序号</td><td>日志</td><td width=10%>开始时间</td><td width=10%>结束时间</td></tr>
<tr>
<td>1</td><td><textarea id="txtRecord0" runat="server"></textarea></td>
<td><select id="ddlStart0" runat="server"><option value=""></option></select></td>
<td><select id="ddlEnd0" runat="server"><option value=""></option></select></td>
</tr>
<tr>
<td>2</td><td><textarea id="txtRecord1" runat="server"></textarea></td>
<td><select id="ddlStart1" runat="server"><option value=""></option></select></td>
<td><select id="ddlEnd1" runat="server"><option value=""></option></select></td>
</tr>
<tr>
<td>3</td><td><textarea id="txtRecord2" runat="server"></textarea></td>
<td><select id="ddlStart2" runat="server"><option value=""></option></select></td>
<td><select id="ddlEnd2" runat="server"><option value=""></option></select></td>
</tr>
<tr>
<td>4</td><td><textarea id="txtRecord3" runat="server"></textarea></td>
<td><select id="ddlStart3" runat="server"><option value=""></option></select></td>
<td><select id="ddlEnd3" runat="server"><option value=""></option></select></td>
</tr>
<tr>
<td>5</td><td><textarea id="txtRecord4" runat="server"></textarea></td>
<td><select id="ddlStart4" runat="server"><option value=""></option></select></td>
<td><select id="ddlEnd4" runat="server"><option value=""></option></select></td>
</tr>
</table>
<div style="text-align:right;margin-right:24px;margin-top:6px;">
    <asp:button runat="server" CssClass="btn" text="保存" id="btnSave" onclick="btnSave_Click"/>
    <input type=button class="btn" value="关闭" onclick="window.close();" />
</div></form>
</body>
</html>